/* 简历分析报告样式 */
:root {
    --primary-color: #4a6cf7;
    --primary-light: #e9efff;
    --primary-dark: #3a56c5;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --error-color: #dc3545;
    --text-color: #333;
    --text-light: #666;
    --text-lighter: #999;
    --border-color: #e0e0e0;
    --bg-light: #f8f9fa;
    --bg-lighter: #f1f3f5;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    --radius: 8px;
    --transition: all 0.3s ease;
}

/* 分析容器 */
.analysis-container {
    padding: 40px 0;
    background-color: var(--bg-light);
}

/* 分析报告头部 */
.analysis-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.resume-title {
    font-size: 28px;
    margin: 0 0 10px;
    color: var(--text-color);
}

.resume-meta {
    display: flex;
    gap: 20px;
    color: var(--text-light);
    font-size: 14px;
}

.analysis-actions {
    display: flex;
    gap: 15px;
}

.btn-with-icon {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-icon {
    width: 18px;
    height: 18px;
}

/* 分析部分通用样式 */
.analysis-section {
    background-color: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    padding: 25px;
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.section-title {
    font-size: 22px;
    margin: 0;
    color: var(--text-color);
}

.section-tooltip {
    margin-left: 10px;
    position: relative;
    cursor: help;
}

.section-tooltip img {
    width: 18px;
    height: 18px;
    opacity: 0.7;
}

.section-tooltip:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    z-index: 10;
    margin-top: 10px;
}

/* 总体评分部分 */
.score-content {
    display: flex;
    gap: 40px;
    margin-bottom: 25px;
}

.score-chart {
    flex: 0 0 200px;
    text-align: center;
}

.score-circle {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto;
}

.circular-chart {
    width: 100%;
    height: 100%;
}

.circle-bg {
    fill: none;
    stroke: var(--bg-lighter);
    stroke-width: 3;
}

.circle {
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 3;
    stroke-linecap: round;
    animation: progress 1s ease-out forwards;
}

@keyframes progress {
    0% {
        stroke-dasharray: 0, 100;
    }
}

.score {
    fill: var(--text-color);
    font-size: 12px;
    font-weight: bold;
    text-anchor: middle;
    dominant-baseline: middle;
}

.score-label {
    margin-top: 15px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
}

.score-details {
    flex: 1;
}

.score-category {
    margin-bottom: 20px;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.category-header h3 {
    margin: 0;
    font-size: 16px;
    color: var(--text-color);
}

.category-score {
    font-weight: 600;
    color: var(--text-color);
}

.score-max {
    color: var(--text-lighter);
    font-weight: normal;
    font-size: 14px;
}

.progress-bar {
    height: 8px;
    background-color: var(--bg-lighter);
    border-radius: 4px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 4px;
    transition: width 1s ease-in-out;
}

.score-summary {
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.score-summary h3 {
    font-size: 18px;
    margin: 0 0 15px;
    color: var(--text-color);
}

.score-summary p {
    margin: 0;
    line-height: 1.6;
    color: var(--text-light);
}

/* ATS通过率分析 */
.ats-content {
    display: flex;
    gap: 40px;
    margin-bottom: 25px;
}

.ats-score {
    flex: 0 0 200px;
    text-align: center;
}

.ats-meter {
    position: relative;
    width: 180px;
    height: 120px;
    margin: 0 auto;
}

.ats-gauge {
    width: 100%;
    height: 100%;
}

.gauge-bg {
    fill: none;
    stroke: var(--bg-lighter);
    stroke-width: 8;
    stroke-linecap: round;
}

.gauge-fill {
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 8;
    stroke-linecap: round;
    animation: gauge-progress 1.5s ease-out forwards;
}

@keyframes gauge-progress {
    0% {
        stroke-dasharray: 0, 188;
    }
}

.gauge-text {
    fill: var(--text-color);
    font-size: 20px;
    font-weight: bold;
    text-anchor: middle;
}

.ats-label {
    margin-top: 15px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
}

.ats-details {
    flex: 1;
}

.ats-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.ats-icon {
    flex: 0 0 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ats-icon.success {
    background-color: rgba(40, 167, 69, 0.1);
}

.ats-icon.warning {
    background-color: rgba(255, 193, 7, 0.1);
}

.ats-icon.error {
    background-color: rgba(220, 53, 69, 0.1);
}

.ats-icon img {
    width: 14px;
    height: 14px;
}

.ats-info h4 {
    margin: 0 0 5px;
    font-size: 16px;
    color: var(--text-color);
}

.ats-info p {
    margin: 0;
    color: var(--text-light);
    font-size: 14px;
}

.ats-recommendations {
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.ats-recommendations h3 {
    font-size: 18px;
    margin: 0 0 15px;
    color: var(--text-color);
}

.recommendation-list {
    margin: 0;
    padding-left: 20px;
}

.recommendation-list li {
    margin-bottom: 8px;
    color: var(--text-light);
}

/* 内容分析 */
.content-analysis {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.analysis-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: var(--bg-lighter);
    border-bottom: 1px solid var(--border-color);
}

.card-title {
    margin: 0;
    font-size: 18px;
    color: var(--text-color);
}

.card-score {
    font-weight: 600;
    font-size: 18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.card-score.good {
    background-color: var(--success-color);
}

.card-score.average {
    background-color: var(--warning-color);
    color: var(--text-color);
}

.card-score.poor {
    background-color: var(--error-color);
}

.card-content {
    padding: 20px;
}

.analysis-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.item-icon {
    flex: 0 0 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-icon.success {
    background-color: rgba(40, 167, 69, 0.1);
}

.item-icon.warning {
    background-color: rgba(255, 193, 7, 0.1);
}

.item-icon.error {
    background-color: rgba(220, 53, 69, 0.1);
}

.item-icon img {
    width: 14px;
    height: 14px;
}

.item-content p {
    margin: 0;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.5;
}

.card-recommendations {
    padding: 15px 20px;
    background-color: var(--primary-light);
    border-top: 1px solid var(--border-color);
}

.card-recommendations h4 {
    margin: 0 0 10px;
    font-size: 16px;
    color: var(--text-color);
}

.card-recommendations ul {
    margin: 0;
    padding-left: 20px;
}

.card-recommendations li {
    margin-bottom: 5px;
    font-size: 14px;
    color: var(--text-light);
}

.before-after {
    margin-top: 15px;
    border-top: 1px solid var(--border-color);
}

.before-after-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.before-after-header h4 {
    margin: 0;
    font-size: 16px;
    color: var(--text-color);
}

.toggle-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 14px;
    padding: 0;
}

.before-after-content {
    padding: 0 20px 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.before-content, .after-content {
    padding: 15px;
    border-radius: var(--radius);
    background-color: var(--bg-lighter);
}

.before-content h5, .after-content h5 {
    margin: 0 0 10px;
    font-size: 14px;
    color: var(--text-color);
}

.before-content p, .after-content p {
    margin: 0;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

.after-content {
    background-color: var(--primary-light);
}

.skills-comparison {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.skills-comparison h4 {
    margin: 0 0 15px;
    font-size: 16px;
    color: var(--text-color);
    padding: 0 20px;
}

.skills-chart {
    display: flex;
    gap: 20px;
}

.skills-match, .skills-missing {
    flex: 1;
    padding: 15px;
    border-radius: var(--radius);
}

.skills-match {
    background-color: rgba(40, 167, 69, 0.1);
}

.skills-missing {
    background-color: rgba(220, 53, 69, 0.1);
}

.match-label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-color);
}

.match-value {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-color);
}

.skills-list {
    margin: 0;
    padding-left: 20px;
}

.skills-list li {
    margin-bottom: 5px;
    font-size: 14px;
    color: var(--text-light);
}

/* 语言和表达分析 */
.language-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.language-overview {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.language-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border-radius: var(--radius);
    background-color: var(--bg-lighter);
}

.language-icon {
    flex: 0 0 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-light);
    border-radius: 50%;
}

.language-icon img {
    width: 20px;
    height: 20px;
}

.language-score {
    flex: 1;
}

.score-label {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.mini-progress {
    height: 6px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    margin-bottom: 5px;
}

.mini-bar {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: width 1s ease-in-out;
}

.score-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
}

.language-details {
    display: flex;
    gap: 25px;
}

.language-card {
    flex: 1;
    padding: 20px;
    border-radius: var(--radius);
    background-color: var(--bg-lighter);
}

.language-card h3 {
    margin: 0 0 15px;
    font-size: 18px;
    color: var(--text-color);
}

.language-list {
    margin: 0;
    padding-left: 20px;
}

.language-list li {
    margin-bottom: 10px;
    color: var(--text-light);
    line-height: 1.5;
}

.language-list.positive li::marker {
    color: var(--success-color);
}

.language-list.negative li::marker {
    color: var(--error-color);
}

.word-analysis {
    padding: 25px;
    border-radius: var(--radius);
    background-color: var(--bg-lighter);
}

.word-analysis h3 {
    margin: 0 0 20px;
    font-size: 18px;
    color: var(--text-color);
}

.word-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
    justify-content: center;
    align-items: center;
}

.word-item {
    color: var(--primary-color);
    font-weight: 600;
    line-height: 1;
}

.word-recommendations h4 {
    margin: 0 0 15px;
    font-size: 16px;
    color: var(--text-color);
}

.word-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.word-tag {
    padding: 6px 12px;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 20px;
    font-size: 14px;
}

/* 行业匹配度 */
.industry-content {
    display: flex;
    gap: 30px;
}

.industry-chart {
    flex: 0 0 300px;
}

.industry-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.industry-match h3, .industry-recommendations h3 {
    margin: 0 0 20px;
    font-size: 18px;
    color: var(--text-color);
}

.industry-match-item {
    margin-bottom: 20px;
}

.match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.match-header h4 {
    margin: 0;
    font-size: 16px;
    color: var(--text-color);
}

.match-score {
    font-weight: 600;
    color: var(--primary-color);
}

.match-bar {
    height: 8px;
    background-color: var(--bg-lighter);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.match-progress {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 4px;
    transition: width 1s ease-in-out;
}

.match-description {
    margin: 0;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

.recommendation-card {
    display: flex;
    gap: 15px;
    padding: 15px;
    background-color: var(--bg-lighter);
    border-radius: var(--radius);
    margin-bottom: 15px;
}

.recommendation-icon {
    flex: 0 0 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-light);
    border-radius: 50%;
}

.recommendation-icon img {
    width: 20px;
    height: 20px;
}

.recommendation-content {
    flex: 1;
}

.recommendation-content h4 {
    margin: 0 0 8px;
    font-size: 16px;
    color: var(--text-color);
}

.recommendation-content p {
    margin: 0;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

/* 优化建议总结 */
.summary-content {
    display: flex;
    gap: 30px;
}

.priority-recommendations {
    flex: 2;
}

.priority-recommendations h3, .ai-optimization h3 {
    margin: 0 0 20px;
    font-size: 18px;
    color: var(--text-color);
}

.priority-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.priority-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background-color: var(--bg-lighter);
    border-radius: var(--radius);
}

.priority-badge {
    flex: 0 0 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

.priority-item.high .priority-badge {
    background-color: var(--error-color);
}

.priority-item.medium .priority-badge {
    background-color: var(--warning-color);
    color: var(--text-color);
}

.priority-item.low .priority-badge {
    background-color: var(--success-color);
}

.priority-content {
    flex: 1;
}

.priority-content h4 {
    margin: 0 0 10px;
    font-size: 16px;
    color: var(--text-color);
}

.priority-content p {
    margin: 0 0 15px;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

.action-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.arrow-icon {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-top: 2px solid var(--primary-color);
    border-right: 2px solid var(--primary-color);
    transform: rotate(45deg);
    margin-left: 5px;
}

.ai-optimization {
    flex: 1;
    padding: 25px;
    background-color: var(--primary-light);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
}

.ai-optimization p {
    margin: 0 0 20px;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

.optimization-options {
    margin-bottom: 25px;
}

.optimization-option {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 8px;
}

.optimization-option input[type="checkbox"] {
    margin: 0;
    padding: 0;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    vertical-align: middle;
}

.optimization-option label {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.2;
    cursor: pointer;
    margin: 0;
    vertical-align: middle;
}

.btn-large {
    padding: 12px 24px;
    font-size: 16px;
    margin-top: auto;
}

/* 竞争力对比 */
.comparison-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.comparison-chart {
    width: 100%;
    height: 400px;
}

.comparison-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 15px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

.legend-color.your-resume {
    background-color: var(--primary-color);
}

.legend-color.industry-avg {
    background-color: var(--warning-color);
}

.legend-color.top-resumes {
    background-color: var(--success-color);
}

.legend-label {
    font-size: 14px;
    color: var(--text-light);
}

.comparison-insights {
    padding: 20px;
    background-color: var(--bg-lighter);
    border-radius: var(--radius);
}

.comparison-insights h3 {
    margin: 0 0 15px;
    font-size: 18px;
    color: var(--text-color);
}

.comparison-insights p {
    margin: 0;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* 下一步行动 */
.action-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.action-card {
    padding: 25px;
    background-color: var(--bg-lighter);
    border-radius: var(--radius);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.action-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.action-icon img {
    width: 30px;
    height: 30px;
}

.action-card h3 {
    margin: 0 0 15px;
    font-size: 18px;
    color: var(--text-color);
}

.action-card p {
    margin: 0 0 20px;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

.action-card .btn {
    margin-top: auto;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .score-content, .ats-content, .summary-content, .industry-content {
        flex-direction: column;
    }
    
    .score-chart, .ats-score {
        margin-bottom: 30px;
    }
    
    .language-overview {
        flex-direction: column;
    }
    
    .language-details {
        flex-direction: column;
    }
    
    .action-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .analysis-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .analysis-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .content-analysis {
        grid-template-columns: 1fr;
    }
    
    .skills-chart {
        flex-direction: column;
    }
}

/* 雷达图样式 */
.radar-chart {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.radar-svg {
    width: 100%;
    height: auto;
}

.radar-label {
    font-size: 12px;
    fill: var(--text-light);
    font-weight: 500;
}

/* 详细对比数据 */
.comparison-details {
    margin-top: 30px;
    padding: 25px;
    background-color: var(--bg-lighter);
    border-radius: var(--radius);
}

.comparison-details h3 {
    margin: 0 0 25px;
    font-size: 20px;
    color: var(--text-color);
}

.comparison-metrics {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.metric-item {
    padding: 20px;
    background-color: white;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

.metric-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.metric-header h4 {
    margin: 0;
    font-size: 16px;
    color: var(--text-color);
}

.metric-scores {
    display: flex;
    gap: 15px;
    align-items: center;
}

.metric-scores span {
    font-size: 14px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
}

.your-score {
    background-color: rgba(74, 144, 226, 0.1);
    color: var(--primary-color);
}

.avg-score {
    background-color: rgba(255, 193, 7, 0.1);
    color: var(--warning-color);
}

.top-score {
    background-color: rgba(76, 175, 80, 0.1);
    color: var(--success-color);
}

.metric-bars {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.metric-bar {
    height: 8px;
    border-radius: 4px;
    position: relative;
}

.your-bar {
    background-color: var(--primary-color);
}

.avg-bar {
    background-color: var(--warning-color);
}

.top-bar {
    background-color: var(--success-color);
}

.metric-insight {
    margin: 0;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

/* 竞争优势分析 */
.competitive-advantages {
    margin-top: 30px;
    padding: 25px;
    background-color: var(--bg-lighter);
    border-radius: var(--radius);
}

.competitive-advantages h3 {
    margin: 0 0 25px;
    font-size: 20px;
    color: var(--text-color);
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.advantage-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background-color: white;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

.advantage-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.advantage-icon.success {
    background-color: rgba(76, 175, 80, 0.1);
}

.advantage-icon.warning {
    background-color: rgba(255, 193, 7, 0.1);
}

.advantage-content h4 {
    margin: 0 0 8px;
    font-size: 16px;
    color: var(--text-color);
}

.advantage-content p {
    margin: 0;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

/* 市场定位分析 */
.market-position {
    margin-top: 30px;
    padding: 25px;
    background-color: var(--bg-lighter);
    border-radius: var(--radius);
}

.market-position h3 {
    margin: 0 0 25px;
    font-size: 20px;
    color: var(--text-color);
}

.position-chart {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.position-item {
    display: grid;
    grid-template-columns: 150px 1fr 80px;
    align-items: center;
    gap: 15px;
}

.position-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
}

.position-bar {
    position: relative;
    height: 30px;
    background-color: #f5f5f5;
    border-radius: 15px;
    overflow: hidden;
}

.position-range {
    position: absolute;
    top: 0;
    height: 100%;
    background-color: rgba(74, 144, 226, 0.2);
    border-radius: 15px;
}

.your-position {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-color);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.position-score {
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
}

.position-insight {
    margin: 0;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    padding: 20px;
    background-color: white;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

@media (max-width: 576px) {
    .analysis-container {
        padding: 15px 0;
    }
    
    .analysis-section {
        padding: 15px 12px;
        margin-bottom: 20px;
    }
    
    .resume-meta {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .btn-with-icon span {
        display: none;
    }
    
    .btn-with-icon {
        padding: 10px;
        min-height: 44px;
        min-width: 44px;
    }
    
    .btn-icon {
        margin: 0;
    }
    
    .score-chart {
        width: 200px;
        height: 200px;
        margin: 0 auto;
    }
    
    .score-details {
        padding: 15px;
    }
    
    .score-item {
        padding: 10px;
        margin-bottom: 8px;
    }
    
    .ats-score {
        padding: 20px 15px;
        text-align: center;
    }
    
    .ats-percentage {
        font-size: 2rem;
    }
    
    .advantage-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .advantage-item {
        padding: 12px;
        text-align: center;
    }
    
    .position-item {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: center;
        padding: 12px;
    }
    
    .position-bar {
        order: 2;
        margin: 8px 0;
    }
    
    .position-score {
        order: 3;
    }
    
    .skills-chart {
        padding: 15px;
    }
    
    .skill-item {
        margin-bottom: 12px;
    }
    
    .skill-bar {
        height: 6px;
    }
    
    .comparison-chart {
        height: 300px;
    }
    
    .comparison-legend {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .comparison-details {
        padding: 15px;
    }
    
    .metric-item {
        padding: 12px;
    }
    
    .action-card {
        padding: 20px 15px;
    }
    
    .action-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }
}